﻿using System;
using UnityEngine;

namespace Gameplay
{
    [Serializable]
    public class SkillConfig
    {
        public int Id;

        public string Name;

        public string Description;

        public int Level;

        public KeyCode Code;

        public string AnimName;

        public float DamageValue;

        public TriggerType TriggerType;//按键类型

        public AudioClip effectSound;
        public GameObject effectVFX;
        public Transform effectPos;

        public AudioClip HitSound;
        public GameObject HitVFX;

    }

    public enum TriggerType 
    {
        Hold,
        Trigger,
    }
}
